/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package de.hsmannheim.pepa.patientenportal.apanwep.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the contact service. Represents a row in the &quot;contact&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link de.hsmannheim.pepa.patientenportal.apanwep.model.impl.contactModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link de.hsmannheim.pepa.patientenportal.apanwep.model.impl.contactImpl}.
 * </p>
 *
 * @author Cedric Nana
 * @see contact
 * @see de.hsmannheim.pepa.patientenportal.apanwep.model.impl.contactImpl
 * @see de.hsmannheim.pepa.patientenportal.apanwep.model.impl.contactModelImpl
 * @generated
 */
public interface contactModel extends BaseModel<contact> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a contact model instance should use the {@link contact} interface instead.
	 */

	/**
	 * Returns the primary key of this contact.
	 *
	 * @return the primary key of this contact
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this contact.
	 *
	 * @param primaryKey the primary key of this contact
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the message_id of this contact.
	 *
	 * @return the message_id of this contact
	 */
	public long getMessage_id();

	/**
	 * Sets the message_id of this contact.
	 *
	 * @param message_id the message_id of this contact
	 */
	public void setMessage_id(long message_id);

	/**
	 * Returns the user_id of this contact.
	 *
	 * @return the user_id of this contact
	 */
	public long getUser_id();

	/**
	 * Sets the user_id of this contact.
	 *
	 * @param user_id the user_id of this contact
	 */
	public void setUser_id(long user_id);

	/**
	 * Returns the datetime of this contact.
	 *
	 * @return the datetime of this contact
	 */
	@AutoEscape
	public String getDatetime();

	/**
	 * Sets the datetime of this contact.
	 *
	 * @param datetime the datetime of this contact
	 */
	public void setDatetime(String datetime);

	@Override
	public boolean isNew();

	@Override
	public void setNew(boolean n);

	@Override
	public boolean isCachedModel();

	@Override
	public void setCachedModel(boolean cachedModel);

	@Override
	public boolean isEscapedModel();

	@Override
	public Serializable getPrimaryKeyObj();

	@Override
	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	@Override
	public ExpandoBridge getExpandoBridge();

	@Override
	public void setExpandoBridgeAttributes(BaseModel<?> baseModel);

	@Override
	public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);

	@Override
	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	@Override
	public Object clone();

	@Override
	public int compareTo(contact contact);

	@Override
	public int hashCode();

	@Override
	public CacheModel<contact> toCacheModel();

	@Override
	public contact toEscapedModel();

	@Override
	public contact toUnescapedModel();

	@Override
	public String toString();

	@Override
	public String toXmlString();
}